Skip to content

Backport MySQL backend to dev#134

Merged
sepalani merged 2 commits intodevfrom
mysql-backend
Jul 25, 2025
Merged

Backport MySQL backend to dev#134
sepalani merged 2 commits intodevfrom
mysql-backend

Conversation

@sepalani
Copy link
Copy Markdown
Owner

This PR adds MySQL backend support for both python2/3.

Depends on #133.

Copy link
Copy Markdown
Collaborator

@InusualZ InusualZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one comment that can be addressed after all the backport is complete.


def populate_database(self):
with self.connection.cursor() as cursor:
cursor.execute("SELECT * FROM consoles")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite like that we are loading the entire table into memory when not all slot may be used. After we land this, this should be refactored into a more lazy operation.

@sepalani sepalani merged commit f53b06c into dev Jul 25, 2025
13 checks passed
@sepalani sepalani deleted the mysql-backend branch July 25, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants